<?php
include dirname(dirname(dirname(__FILE__))).'/include/user-verify.php';
include dirname(dirname(__FILE__)).'/excellent-worker-manage/functions.php';
include dirname(dirname(__FILE__)).'/user-manage/functions.php';
$excellent_worker = getExcellentWorker();
$worker1 = getUserById($excellent_worker['worker1_id']);
$worker2 = getUserById($excellent_worker['worker2_id']);
$author = getUserById(getExcellentWorkerUpdateAuthorId());
?>

<html>
	<head>
		<?php include dirname(dirname(dirname(__FILE__))).'/include/common-header.php'; ?>
		<link rel="stylesheet" type="text/css" href="../css/style.css">
	</head>
	<body>
		<div class="col-md-12">
			<div>
				<h3>本月优秀员工</h3>
			</div>
			<div>
				<table class="table table-striped table-bordered table-hover table-condensed" id="default-table">
				<tr>
					<th>优秀员工一</th>
					<th>优秀员工二</th>
				</tr>
				<tr>
					<td><?php echo $worker1['user_real_name']; ?></td>
					<td><?php echo $worker2['user_real_name']; ?></td>
				</tr>
				</table>
				<span>更新时间:<b style="margin-right:20px;"><?php echo getExcellentWorkerUpdateTime(); ?></b>
				编辑者: <b><?php echo $author['username']; ?></b>
				</span>
			</div>
		</div>
	</body>
</html>